<template>
    <header>
      <span v-if="you" ></span>
      <span>{{title}}</span>
      <span>· · ·</span>
    </header>
</template>

<script>
export default {
  props:["title","you"],
  data(){
    return {

    }
  }
}
</script>

<style scoped lang="scss">
*{
  margin: 0;
  padding: 0;
  list-style: none;;
  box-sizing: border-box;
}
  header{

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    align-items: center;
    border-bottom:1px solid #ccc;
    background: rgb(136, 204, 109);
  font-weight: 500;
  font-size: 20px;
  color: #fff;
  }
</style>

